/**
 * 对象功能:文号信息表 Model对象
 * 作者:yhb
 * 开发时间:2011-6-14 14:45:53
 */
package com.towker.frame.model.sys;
public class RefNum
{
	//主键
	private Long id = 0L;
	//父类编号
	private Long pid = 0L;
	//文号名称
	private String name = "";
	//文号备注
	private String memo = "";
	//文号属性
	private String property = "";
	//文号预览
	private String preview = "";
	//缺省生成时间方式(1-手动，2-自动)
	private String generate = "";

	public void setId(Long id)
	{
		this.id = id;
	}

	@Override
	public String toString()
	{
		return "{id:"+id+",pid:"+pid+",name:'"+name+"'}";
	}

	public Long getId()
	{
		return this.id;
	}

	public void setPid(Long pid)
	{
		this.pid = pid;
	}

	public Long getPid()
	{
		return this.pid;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getName()
	{
		return this.name;
	}

	public void setMemo(String memo)
	{
		this.memo = memo;
	}

	public String getMemo()
	{
		return this.memo;
	}

	public void setProperty(String property)
	{
		this.property = property;
	}

	public String getProperty()
	{
		return this.property;
	}

	public void setPreview(String preview)
	{
		this.preview = preview;
	}

	public String getPreview()
	{
		return this.preview;
	}

	public String getGenerate()
	{
		return generate;
	}

	public void setGenerate(String generate)
	{
		this.generate = generate;
	}
}